//
//  SEPatientFileHealthModel.swift
//  SmartEyeForPatient
//
//  Created by qdsg on 2021/4/29.
//

import HandyJSON

struct SEPatientFileHealthListModel: HandyJSON {
    var pageNum: Int = 0
    var pageSize: Int = 0
    var total: Int = 0
    var list: [SEPatientFileHealthModel] = []
}

struct SEPatientFileHealthModel: HandyJSON {
    /// 数据id
    var diagRecordDetailId: String = ""
    /// 类型:1-就诊数据,2-检验数据,3-检查数据,4-处方数据
    var type: Int = 0
    /// 就诊数据详情,type=1时不为空 ,HealthRecordPageListDiagDataVO
    var diagData: SEPatientFileRegistrationModel = SEPatientFileRegistrationModel()
    /// 检查数据详情,type=3时不为空 ,HealthRecordPageListCheckDataVO
    var checkData: SEPatientFileExamineModel = SEPatientFileExamineModel()
}

struct SEPatientFileRegistrationModel: HandyJSON {
    /// 就诊医院名称
    var hosName: String = ""
    /// 就诊类型名称
    var diagTypeName: String = ""
    /// 就诊科室名称
    var jiuzhenksmc: String = ""
    /// 就诊时间(实际诊疗时间)
    var diagDate: String = ""
    /// 主诊医生姓名
    var zhuzhenysxm: String = ""
    /// 主诊断
    var zhuzhendmc: String = ""
    /// 患者描述
    var patientDescription: String = ""
    /// 就诊记录id
    var diagRecordDetailId: String = ""
}

struct SEPatientFileExamineModel: HandyJSON {
    /// 就诊医院名称
    var hosName: String = ""
    /// 检查标识,如【门诊、急诊、住院、体检、社区筛查】等
    var checkMark: String = ""
    /// 检验项目
    var jiancexmmc: [String] = []
    /// 检查时间
    var jiancharq: String = ""
    /// 申请单id
    var applyFormId: String = ""
}

